<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>附件上传</title>
    <%@include file="/common/header.jspf" %>
    <style type="text/css">
        .enclosure{
            width: 465px;
        }
        .attachment{
            width: auto;
        }
    </style>
</head>
<body>
<%--@elvariable id="uploadUserId" type="java.lang.String"--%>
<%--@elvariable id="accessoryList" type="java.util.List"--%>
<%--@elvariable id="packageKey" type="java.lang.String"--%>
<c:if test="${param.write=='readonly'}">
    <accessory:accessorySimple permission="" packageKey="${packageKey}" packageInfos="${accessoryList}"
                               uploadUserId="${uploadUserId}" accessoryType="docx,doc,jpg,png,pdf,jpeg"/>
</c:if>
<c:if test="${param.write!='readonly'}">
    <accessory:accessorySimple permission="write" packageKey="${packageKey}" packageInfos="${accessoryList}"
                               uploadUserId="${uploadUserId}" accessoryType="docx,doc,jpg,png,pdf,jpeg"/>
</c:if>
</body>
</html>
